from House import House #一个文件是一个模块，我们要从house文件中导入House独享
from Furniture import  Furniture
# 创建房子
house = House("上海",100)
print(house)

fur1 = Furniture("沙发",10)
house.addFurniture(fur1)
print(house)

fur1 = Furniture("桌子",50)
house.addFurniture(fur1)
print(house)

fur1 = Furniture("床",20)
house.addFurniture(fur1)
print(house)

fur1 = Furniture("花盆",10)
house.addFurniture(fur1)
print(house)

fur1 = Furniture("鱼缸",15)
house.addFurniture(fur1)
print(house)


